<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../css/global.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="../js/jqwidgets/styles/jqx.base.css" type="text/css" />
 	
<script type="text/javascript" src="../js/jquery/jquery-1.10.2.min.js"></script>

 
<script type="text/javascript" src="../js/jqwidgets/jqx-all.js"></script>
 
<script type="text/javascript" src="../js/jqwidgets/globalization/globalize.js"></script>
 
<script type="text/javascript" src="../js/ZeroClipboard/ZeroClipboard.js"></script>
<script type="text/javascript">
$(function(){

  var clip = new ZeroClipboard($("#copy-button"));

  clip.on("ready", function() {
    alert("Flash movie loaded and ready.");
    clip.setText("bbbbmovie loaded and ready.");
  //  this.on("aftercopy", function(event) {
 //     alert("Copied text to clipboard: " + event.data["text/plain"]);
 //   });
//	 clip.getData();
  });

  clip.on("error", function(event) {
    $(".demo-area").hide();
    alert('error[name="' + event.name + '"]: ' + event.message);
    ZeroClipboard.destroy();
  });
  $('#past').on('click',function(){
	var aaa=clip.getData("text/plain");
	alert(aaa);

	  });
  
    $("#timeinput").jqxDateTimeInput({ width: '250px', height: '25px', formatString: 'T', showCalendarButton: false});
});
</script>
 
</head>
<!--onselectstart="return false"  oncopy=document.selection.empty() onselect=document.selection.empty()-->
<body >
 <div  id="timeinput"></div>
 
 <button id="copy-button"   title="Click to copy me.">Copy to Clipboard</button>
   <button id="past"   title="Click to copy me.">Copy to Clipboard</button>
</body>
</html>
